//
//  SettingsTabViewController.h
//  Seizure
//
//  Created by student on 2/9/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "NetworkData.h"
@class AlertPrompt;
@class DataManager;

@interface SettingsTabViewController : UIViewController <UITableViewDelegate, UITableViewDataSource, UIAlertViewDelegate, NetworkData>
{
    NSInteger currentRow;
    UIButton *editCaretakerButton;
    UIButton *logOutButton;
    UIButton *showLogsButton;
    IBOutlet UITextView *hiddenDescription;
    BOOL editCaretakerMode;     //Keeps track of whether or not we are editing the caretakers
}


@property (nonatomic, retain) IBOutlet UIView *customView;

//@property (nonatomic) NSInteger currentRow;
@property (nonatomic, retain) NSMutableArray *associatedCaretakers;

//@property (nonatomic, retain) IBOutlet UIPickerView *caretakerPicker;
@property (nonatomic, retain) IBOutlet UITableView *table;
@property (nonatomic, retain) IBOutlet UIButton *editCaretakerButton;
@property (nonatomic, retain) IBOutlet UIButton *logOutButton;
@property (nonatomic, retain) IBOutlet UIButton *showLogsButton;

- (IBAction)addCaretaker:(id)sender;
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
- (IBAction)userLoggedOut;
- (IBAction)showLogs;

@end